package com.ruoyi.web.controller.system.Fdongbei;


import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.Fdongbei.domain.dibang.MenjinDo;
import com.ruoyi.system.Fdongbei.service.ITbMenjinService;
import org.apache.ibatis.annotations.Delete;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import static com.ruoyi.common.core.domain.AjaxResult.success;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author fufeng
 * @since 2024-12-05
 */
@RestController
@RequestMapping("/system/Fdongbei/tb-menjin")
public class TbMenjinController {
    @Autowired
    private ITbMenjinService tbMenjinService;

    @GetMapping("/menjin/modifyStatus")
    public AjaxResult modifyStatus(String czbh) {
        return tbMenjinService.menjinModifyStatus(czbh);
    }


    @PostMapping("/deletemenjinbyczbh")
    public AjaxResult deletemenjinbyczbh(String czbh){
        return success(tbMenjinService.deletemenjinbyczbh(czbh));
    }





}

